ecm_add_test(
    main.cpp
    TEST_NAME TestLegends
    LINK_LIBRARIES testtools KChart Qt5::Widgets Qt5::Test
)
